package com.mes.cloud.api.dto.request.organization;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 组织更新
 * 
 * @author xy
 * @email yuan.xue3@pactera.com
 * @version 2019-07-30 10:10:54
 */
@Data
public class SysOrganizationUpdateRequest implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "组织id", required = true)
    @NotEmpty(message ="organizationId不能为空")
    @NotNull(message = "organizationId不能为空")
    private String organizationId;

    @ApiModelProperty(value = "员工id", required = false)
    private String employeeId;

    @ApiModelProperty(value = "组织id集合", required = false)
    private List<String> organizationIds;
}
